function Base64(info){
    var imgBase = new Promise((resolve, reject)=>{
        const reader = new FileReader();
        reader.readAsDataURL(info.file,"gb2312");
        reader.onload = () => {
            resolve(reader.result)
        }
    })
    
    return imgBase
}

export default Base64